home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
utils
/
spr_cut
/
cutlst.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-10
|
1KB
|
60 lines
/* ---------------------------------------------------- */
/* (c) 1995 Niksoft International */
/* SPRITE CUTTER UTILITY v2.0 */
/* ---------------------------------------------------- */
/* CUTLST.H */
/* ---------------------------------------------------- */
#ifndef __RGBCOLOR
#define __RGBCOLOR
typedef struct {
char red;
char green;
char blue;
} RGB_color;
#endif
#ifndef __PICTURE
#define __PICTURE
typedef struct {
RGB_color palette[256];
char far *buffer;
} picture;
#endif
#define MAXSTRINGLEN 25
extern struct CUT {
unsigned x, y;
unsigned char height, width;
struct CUT *next;
} *cut_list;
extern picture source_pic;
extern char source_name[MAXSTRINGLEN];
extern unsigned char cut_x_size, cut_y_size;
extern int load_source(char *);
extern int cut_sprite(unsigned, unsigned);
extern int load_LST();
extern int save_LST(unsigned);
extern void destroy_LST();
extern int save_SPR();
extern void Draw_cuts();